
project(land_2d)

file(GLOB INCS inc/*.h)
file(GLOB HEADERS src/*.h)
file(GLOB SOURCES src/*.c)
add_library(land_2d
    ${INCS}
    ${SOURCES}
    ${HEADERS}
    )

target_include_directories(land_2d PUBLIC src)
target_include_directories(land_2d PUBLIC inc)
target_link_libraries(land_2d PUBLIC land_graphics)
if(BUILD_SHARED_LIBS)
    target_compile_definitions(land_2d PUBLIC LAND_2D_EXPORTS)
endif()